import request from '@/utils/request'

// 获取一体化监测数据
export function getIntegratedData(areaId, startDate, endDate) {
  return request({
    url: '/monitoring/integrated',
    method: 'get',
    params: {
      areaId,
      startDate,
      endDate
    }
  })
}

// 获取风险评估
export function getRiskAssessment(areaId, startDate, endDate) {
  return request({
    url: '/monitoring/risk',
    method: 'get',
    params: {
      areaId,
      startDate,
      endDate
    }
  })
}
